#ifndef BSP_HASH_H
#define BSP_HASH_H
#include "hc32_ddl.h"

#ifdef __cplusplus
extern "C" {
#endif
uint8_t bsp_hash_init(void);
uint8_t bsp_hmac_caculate(uint8_t *sourcedata,uint32_t datalen, uint8_t *key, uint32_t keylen,uint8_t *Digest);
uint8_t bsp_hash_caulate(uint8_t *sourcedata,uint32_t datalen,uint8_t *Digest);
#ifdef __cplusplus
}
#endif

#endif

